*** Table 3
* Collapsed into country-year observations
xtset ccodeloc year
xi: quietly reg civilian_deaths_annual i.year i.ccodeloc

ivreg2 civilian_deaths_annual f1988 f1993 f1998 f2003 f2008 i.ccodeloc (unpo_size = sc) if bdbest > 25  & year > 1988 & year<2015  &civilian_deaths_annual < 75000,  r cluster(ccodeloc) rf first liml partial(i.ccodeloc f1* f2*)
estimates store m1
ivreg2 civilian_deaths_annual f1988 f1993 f1998 f2003 f2008 i.ccodeloc (unpo_size = sc) if bdbest > 25  & year > 1988 & year<2015 & unpo_never2==0 &civilian_deaths_annual < 75000,  r cluster(ccodeloc) rf first liml partial(i.ccodeloc f1* f2*)
estimates store m2
estout m1 m2, style(tex)  varlabels(_cons Constant) cells(b (star fmt(%9.3f)) se) starlevel(* 0.10 ** 0.05 *** 0.01) stats(r2_a N, fmt(%9.3f %9.0g) labels(R-Squared)) legend label  collabels(none)

*** Appendix Table 6
* Country and year fixed effects: country-year format

ivreg2 civilian_deaths_annual _I* (unpo_size = sc) if bdbest > 25  & year > 1988 & year<2015 & civilian_deaths_annual < 75000, r cluster(ccodeloc) rf first liml partial(_I*)
estimates store m1
ivreg2 civilian_deaths_annual _I* (unpo_size = sc) if bdbest > 25  & year > 1988 & year<2015 & unpo_never2==0 & civilian_deaths_annual < 75000, r cluster(ccodeloc) rf first liml partial(_I*)
estimates store m2
estout m1 m2, style(tex)  varlabels(_cons Constant) cells(b (star fmt(%9.3f)) se) starlevel(* 0.10 ** 0.05 *** 0.01) stats(r2_a N, fmt(%9.3f %9.0g) labels(R-Squared)) legend label  collabels(none)

*** Appendix Table 11
* Country and time fixed effects: s.e. clustered by region, country-year format
ivreg2 civilian_deaths_annual f1988 f1993 f1998 f2003 f2008 i.ccodeloc (unpo_size = sc) if bdbest > 25  & year > 1988 & year<2015  &civilian_deaths_annual < 75000,  r cluster(regAf) rf first liml partial(i.ccodeloc f1* f2*)
estimates store m1
ivreg2 civilian_deaths_annual f1988 f1993 f1998 f2003 f2008 i.ccodeloc (unpo_size = sc) if bdbest > 25  & year > 1988 & year<2015 & unpo_never2==0 &civilian_deaths_annual < 75000,  r cluster(regAf) rf first liml partial(i.ccodeloc f1* f2*)
estimates store m2
estout m1 m2, style(tex) varlabels(_cons Constant) cells(b (star fmt(%9.3f)) se) starlevel(* 0.10 ** 0.05 *** 0.01) 

*** Appendix Table 12
* Country and year fixed effects: s.e. clustered by region, country-year format

ivreg2 civilian_deaths_annual _I* (unpo_size = sc) if bdbest > 25  & year > 1988 & year<2015  &civilian_deaths_annual < 75000,  r cluster(regAf) rf first liml partial(_I*)
estimates store m1
ivreg2 civilian_deaths_annual _I* (unpo_size = sc) if bdbest > 25  & year > 1988 & year<2015 & unpo_never2==0 &civilian_deaths_annual < 75000,  r cluster(regAf) rf first liml partial(_I*)
estimates store m2
estout m1 m2, style(tex) varlabels(_cons Constant) cells(b (star fmt(%9.3f)) se) starlevel(* 0.10 ** 0.05 *** 0.01) stats(r2_a N, fmt(%9.3f %9.0g) labels(R-Squared)) legend label  collabels(none)

*** Appendix Table 16
* Country and year fixed effects, s.e. clustered by region and year-month, country-year format

ivreg2 civilian_deaths_annual _I* (unpo_size = sc) if bdbest > 25  & year > 1988 & year<2015  &civilian_deaths_annual < 75000,  r cluster(regAf year) rf first liml partial(_I*)
estimates store m1
ivreg2 civilian_deaths_annual _I* (unpo_size = sc) if bdbest > 25  & year > 1988 & year<2015 & unpo_never2==0 &civilian_deaths_annual < 75000,  r cluster(regAf year) rf first liml partial(_I*)
estimates store m2
estout m1 m2, style(tex) varlabels(_cons Constant) cells(b (star fmt(%9.3f)) se) starlevel(* 0.10 ** 0.05 *** 0.01) stats(r2_a N, fmt(%9.3f %9.0g) labels(R-Squared)) legend label  collabels(none)

*** Appendix Table 17
* Country and time fixed effects, s.e. clustered by region and year-month, country-year format

ivreg2 civilian_deaths_annual f1988 f1993 f1998 f2003 f2008 i.ccodeloc (unpo_size = sc) if bdbest > 25  & year > 1988 & year<2015  &civilian_deaths_annual < 75000,  r cluster(regAf year) rf first liml partial(i.ccodeloc f1* f2*)
estimates store m1
ivreg2 civilian_deaths_annual f1988 f1993 f1998 f2003 f2008 i.ccodeloc (unpo_size = sc) if bdbest > 25  & year > 1988 & year<2015 & unpo_never2==0 &civilian_deaths_annual < 75000,  r cluster(regAf year) rf first liml partial(i.ccodeloc f1* f2*)
estimates store m2
estout m1 m2, style(tex) varlabels(_cons Constant) cells(b (star fmt(%9.3f)) se) starlevel(* 0.10 ** 0.05 *** 0.01) 


*** Appendix Table 26
* Country and year fixed effects: with controls and country-year format

ivreg2 civilian_deaths_annual pko condur simult_con fh_pr  forestcover_new  milex_percap_wb  _I* (unpo_size_lag = sc_lag) if bdbest > 25  & year > 1988 & year<2015  &civilian_deaths_annual < 75000,  r cluster(ccodeloc) rf first liml partial(_I*)
estimates store m1
ivreg2 civilian_deaths_annual pko condur simult_con fh_pr  forestcover_new  milex_percap_wb  _I* (unpo_size_lag = sc_lag) if bdbest > 25  & year > 1988 & year<2015 & unpo_never2==0 &civilian_deaths_annual < 75000,  r cluster(ccodeloc) rf first liml partial(_I*)
estimates store m2
estout m1 m2, style(tex)  varlabels(_cons Constant) cells(b (star fmt(%9.3f)) se) starlevel(* 0.10 ** 0.05 *** 0.01) stats(r2_a N, fmt(%9.3f %9.0g) labels(R-Squared)) legend label  collabels(none)

*** Appendix Table 27
* Country and time fixed effects: with controls and country-year format

ivreg2 civilian_deaths_annual pko condur simult_con fh_pr  forestcover_new  milex_percap_wb f1988 f1993 f1998 f2003 f2008 i.ccodeloc (unpo_size_lag = sc_lag) if bdbest > 25  & year > 1988 & year<2015  &civilian_deaths_annual < 75000,  r cluster(ccodeloc) rf first liml partial(i.ccodeloc f1* f2*)
estimates store m1
ivreg2 civilian_deaths_annual pko condur simult_con fh_pr  forestcover_new  milex_percap_wb  f1988 f1993 f1998 f2003 f2008 i.ccodeloc (unpo_size_lag = sc_lag) if bdbest > 25  & year > 1988 & year<2015 & unpo_never2==0 &civilian_deaths_annual < 75000,  r cluster(ccodeloc) rf first liml partial(i.ccodeloc f1* f2*)
estimates store m2
estout m1 m2, style(tex)  varlabels(_cons Constant) cells(b (star fmt(%9.3f)) se) starlevel(* 0.10 ** 0.05 *** 0.01) stats(r2_a N, fmt(%9.3f %9.0g) labels(R-Squared)) legend label  collabels(none)

*** Appendix Table 35
* Without civil conflict in UNSC member states: country and year fixed effects, s.e. clustered by state, country-year format

ivreg2 civilian_deaths_annual  _I* (unpo_size_lag = sc_lag) if unsc_con == 0 & bdbest > 25  & year > 1988 & year<2015  &civilian_deaths_annual < 75000,  r cluster(ccodeloc) rf first liml partial(_I*)
estimates store m1
ivreg2 civilian_deaths_annual  _I* (unpo_size_lag = sc_lag) if unsc_con == 0 & bdbest > 25  & year > 1988 & year<2015 & unpo_never2==0 &civilian_deaths_annual < 75000,  r cluster(ccodeloc) rf first liml partial(_I*)
estimates store m2
estout m1 m2, style(tex)  varlabels(_cons Constant) cells(b (star fmt(%9.3f)) se) starlevel(* 0.10 ** 0.05 *** 0.01) stats(r2_a N, fmt(%9.3f %9.0g) labels(R-Squared)) legend label  collabels(none)

*** Appendix Table 36
* Without civil conflict in UNSC member states: country and time fixed effects, s.e. clustered by state, country-year format

ivreg2 civilian_deaths_annual  f1988 f1993 f1998 f2003 f2008 i.ccodeloc (unpo_size_lag = sc_lag) if unsc_con == 0 & bdbest > 25  & year > 1988 & year<2015  &civilian_deaths_annual < 75000,  r cluster(ccodeloc) rf first liml partial(i.ccodeloc f1* f2*)
estimates store m1
ivreg2 civilian_deaths_annual  f1988 f1993 f1998 f2003 f2008 i.ccodeloc (unpo_size_lag = sc_lag) if unsc_con == 0 & bdbest > 25  & year > 1988 & year<2015 & unpo_never2==0 &civilian_deaths_annual < 75000,  r cluster(ccodeloc) rf first liml partial(i.ccodeloc f1* f2*)
estimates store m2
estout m1 m2, style(tex)  varlabels(_cons Constant) cells(b (star fmt(%9.3f)) se) starlevel(* 0.10 ** 0.05 *** 0.01) stats(r2_a N, fmt(%9.3f %9.0g) labels(R-Squared)) legend label  collabels(none)

*** Appendix Table 45
* unpo_noregsc_lag: year level, country and time fixed effects

ivreg2 civilian_deaths_annual  f1988 f1993 f1998 f2003 f2008 i.ccodeloc (unpo_noregsc_lag = sc_lag) if bdbest > 25  & year > 1988 & year<2015  &civilian_deaths_annual < 75000,  r cluster(ccodeloc) rf first liml partial(i.ccodeloc f1* f2*)
estimates store m1
ivreg2 civilian_deaths_annual  f1988 f1993 f1998 f2003 f2008 i.ccodeloc (unpo_noregsc_lag = sc_lag) if bdbest > 25  & year > 1988 & year<2015 & unpo_never2==0 &civilian_deaths_annual < 75000,  r cluster(ccodeloc) rf first liml partial(i.ccodeloc f1* f2*)
estimates store m2
estout m1 m2, style(tex)  varlabels(_cons Constant) cells(b (star fmt(%9.3f)) se) starlevel(* 0.10 ** 0.05 *** 0.01) stats(r2_a N, fmt(%9.3f %9.0g) labels(R-Squared)) legend label  collabels(none)

*** Appendix Table 46
* unpo_noregsc_lag: year level, country and time fixed effects

ivreg2 civilian_deaths_annual _I* (unpo_noregsc_lag = sc_lag) if bdbest > 25  & year > 1988 & year<2015  &civilian_deaths_annual < 75000,  r cluster(ccodeloc) rf first liml partial(_I*)
estimates store m1
ivreg2 civilian_deaths_annual _I* (unpo_noregsc_lag = sc_lag) if bdbest > 25  & year > 1988 & year<2015 & unpo_never2==0 &civilian_deaths_annual < 75000,  r cluster(ccodeloc) rf first liml partial(_I*)
estimates store m2
estout m1 m2, style(tex)  varlabels(_cons Constant) cells(b (star fmt(%9.3f)) se) starlevel(* 0.10 ** 0.05 *** 0.01) stats(r2_a N, fmt(%9.3f %9.0g) labels(R-Squared)) legend label  collabels(none)


